package com.lwz.builder;

import com.lwz.builder.Student.StudentBuilder;

public class TestBuilder {

	public static void main(String[] args) {
		Student student = new Student.StudentBuilder().setId(1)
		.setName("lwz").setPasswd("lwz.123").setSex("man").setAddress("123456789").build();	
		System.out.println("------新构造出的student对象为:"+student);
	}

}
